package com.epfly.promo.activity.feign;

import com.epfly.commons.core.rest.RestResponse;
import com.epfly.ifood.base.platform.model.dto.SysAlarmInfo;
import com.epfly.ifood.base.platform.model.url.SysAlarmUrlConstants;
import com.ifood.model.common.constants.IFoodCommosConstants;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = IFoodCommosConstants.ifood_base, contextId = "SysAlarmServiceFeign")
public interface SysAlarmServiceFeign {


    @PostMapping(value = SysAlarmUrlConstants.SYS_ALARM_ADD)
    public RestResponse<SysAlarmInfo> add(@RequestBody SysAlarmInfo sysAlarmInfo);
}
